@w:500px;
@h:500px;
@blue:blue;

.box{
    width: @w;
    height: @h;
    background: @blue;
    margin: 0 auto;
    &:active p{
        background: #fff;
    }
    p{
        width: @w - 100px;
        height: @h - 200px;
        background: yellow;
        span{
            width: (@w/5);
            height: (@h/5);
            display: block;
            background: green;
            a{
                color: red;
                &:hover{
                    color: pink;
                }
            }
        }
    }
}

